import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router);

export default new Router({
    routes: [
        {
            path: '/',
            redirect: '/category',
        },
        {
            path: '/showbook',
            name:'showbook',
            component: () => import("./views/showbook"),
        },
        {
            path: '/category',
            name:'category',
            component: () => import("./views/category")
        },
        {
            path: '/easybrokenlist',
            name:'easybrokenlist',
            component: () => import("./views/easybrokenlist")
        },
        {
            path: '/operatemanual',
            name:'operatemanual',
            component: () => import("./views/operatemanual")
        },
        {
            path: '/maintain',
            name:'maintain',
            component: () => import("./views/maintain")
        },
        {
            path:'*',
            component: () => import("./views/404")
        }
    ]
})
